package org.jeecg.modules.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.entity.ServiceWorkOrder;
import org.jeecg.modules.entity.WorkOrder;
import org.jeecg.modules.vo.ServiceWorkOrderVo;

public interface IServiceWorkOrderService extends IService<WorkOrder> {
    /**
     * 模糊分页查询
     * @param page
     * @param serviceWorkOrderVo
     * @return
     */
    IPage<ServiceWorkOrderVo> findServiceWork(Page page, ServiceWorkOrderVo serviceWorkOrderVo);

    /**
     * 查询数量
     * @param serviceWorkOrderVo
     * @return
     */
    int countServiceWork(ServiceWorkOrderVo serviceWorkOrderVo);

}
